define(function(require, exports, module) { 
	"require:nomunge,exports:nomunge,module:nomunge";
	"use strict";
    var self = exports;
    var utils = require('mokit/utils');
    var service = require('./service');
    var user = require("./User");

	self.imgPath = user.serviceUri + "sypro";
	self.userId = user.state.userId;
	
	//添加资料
	self.addData = function(info, callback){
		return callback();
		self.taskId = taskId;
        service.ucenter.project.getTaskInfo({id:taskId}, function(rs, err) {
            if (err && callback) return callback(err.message || err);
            if (rs.success) {
               	me.info = rs.obj;
                if (callback) callback();
            } else {
                rs = rs || {};
                var msg = rs.msg || 'unknow error';
                if (callback) callback(msg);
            }
        });
	};
	
	//邀请成员
	self.inviteMember = function(userId, callback){
        service.ucenter.project.inviteMember({id:userId}, function(rs, err) {
            if (err && callback) return callback(err.message || err);
            if (rs.success) {
                if (callback) callback();
            } else {
                rs = rs || {};
                var msg = rs.msg || 'unknow error';
                if (callback) callback(msg);
            }
        });
	};	
	
	
});